// import com.alibaba.druid.DbType;
// import com.alibaba.druid.sql.ast.statement.SQLShowGrantsStatement;
// import com.alibaba.druid.sql.dialect.mysql.visitor.MySqlASTVisitor;

#include "MySqlShowGrantsStatement.h"
#include "../../../../../DbType.h"
#include "../../visitor/MySqlASTVisitor.h"

MySqlShowGrantsStatement::MySqlShowGrantsStatement()
{
  dbType = DbType_ptr(new DbType(&DbType::mysql));
}

void MySqlShowGrantsStatement::accept0(MySqlASTVisitor_ptr visitor)
{
  if (visitor->visit(SharedObject(MySqlShowGrantsStatement)))
  {
    acceptChild(visitor, user);
  }
  visitor->endVisit(SharedObject(MySqlShowGrantsStatement));
}
